<%@ page contentType="text/html;charset=UTF-8"%>
<%@page import="com.ufida.ebscg.comm.session.UserBean;"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>招商银行供应商门户-采购创造价值_商务协同_商务应答_执行中项目_其他应答</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<link href="../css/style_add.css" rel="stylesheet" type="text/css" />
<link href="../collaborative/css/collcss.css" rel="stylesheet" type="text/css" />

</head>

<body>

<%

	
	String strCurrentPage = (String)request.getAttribute("currentPage");
	String strisNextPage = (String)request.getAttribute("isNextPage");
	
	Integer currentPage  = null;
	
	try{
		
		currentPage = Integer.valueOf(strCurrentPage);
	}catch(Exception e){
		
	}

	if(currentPage == null){
		currentPage = new Integer(1);
	}
	Boolean isNextPage = null;;
	
	try{
		isNextPage = Boolean.valueOf(strisNextPage);
	}catch(Exception e){
		
	}
	
	
	if(isNextPage == null){
		isNextPage = new Boolean(false);
	}
	

%>
<div id="main">
<!--右侧内容开始-->
<div id="right">
  <p class="protext" id="div_content" name="div_content"><br/>
</p>
  <table width="610" border="0" cellpadding="0" cellspacing="0">
    <tr class="th_bj">
      <td width="266" height="28" align="center" class="f-13-ffffff"  >框架协议名称</td>
      <td width="344" align="center" class="f-13-ffffff"  >合同结束日期</td>
      </tr>
      
      
     <logic:iterate id="constrat" name="constrats">
	     <tr>
	      <td height="30" align="center" bgcolor="f3f4f5">&nbsp;<a 
	      
	      href="#" onclick="sendUrl('../self/constrat.do@constratpk=${constrat.pk_ht_contract}-type=2')" >
	      
	      ${constrat.ct_title}</a></td>
		      <td height="30" align="center" bgcolor="f3f4f5">
		     	${constrat.ct_closed_date }
		      </td>
	      </tr>
	    <tr align="center">
	      	<td height="1" colspan="2" bgcolor="#7f98ae"></td>
	    </tr>
     
     </logic:iterate>
     
     
     <tr >
     
     	<td colspan = '2' align='center' height='26px'>
     		
     		共${count}条 &nbsp;本页${showPageNum }条&nbsp; 共${pages }页&nbsp;
     		<a href = "constrat.do?type=1&currentpage=1"  />首页 </a>
     		&nbsp;
     		<% if(currentPage.intValue() == 1){ %>
     				上一页
     		<%}else{ %>
     				<a href = "constrat.do?type=1&to=up&currentpage=<%=currentPage.intValue()-1%>"  />上一页 </a>
     		<%} %>
     		&nbsp;
     		<%if(isNextPage.booleanValue()){%>
     		<a href = "constrat.do?type=1&to=down&currentpage=<%=(currentPage.intValue()+1) %>"  />下一页</a>
     		<%}else{ %>
     				下一页
     		<%} %>
     		&nbsp;
     		<a href = "constrat.do?type=1&currentpage=-1"  />末页 </a>
     		
     		
     	</td>
     
     </tr>
  </table>
  
  
</div>

<script language="javascript">


	function sendUrl(url){
		parent.window.location.href='/portal/collaborative/main.jsp?url='+url;
	}
</script>
</body>
</html>
